namespace CSharpPro;

public class Phone
{
    // 公共属性
    public string Brand;
    public string Weight;
    public int Camera;
    public int Price;
    
    // 构造函数
    public Phone(string brand, string weight, int camera, int price)
    {
        Brand = brand;
        Weight = weight;
        Camera = camera;
        Price = price;
    }
}